import request from "@/request/request";
import qs from "qs"

export function saveStoreCategory(data){
    let url = "/admin/store/category";
    console.log("saveStoreCategory"+qs.stringify(data))
    let param = {
        url:url,
        method:"put",
        data:qs.stringify(data)
    }
    return request(param);
}

export function getStoreCategoryList(){
    let url = "/admin/store/category";
    let param = {
        url:url,
        method:"Get",
    }
    return request(param);
}

